import * as http from 'http';

/*创建服务器*/
const server = http.createServer((request, response)=>{
   response.end("Hello Node!");
})

server.listen(8001);